home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Tools & Goodies / IntlTest / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-09-12  |  2.6 KB  |  95 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Menus.fr
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef DEFINES_K
  15. #include "Defines.k"
  16. #endif
  17.  
  18. #ifndef FWMENUS_FR
  19. #include "FWMenus.fr"
  20. #endif
  21.  
  22. #ifndef INTLRES_K
  23. #include "IntlRes.k"
  24. #endif
  25.  
  26. //----------------------------------------------------------------------------
  27. //    Strings for IntlTest Menu
  28. //----------------------------------------------------------------------------
  29. resource FW_kMULTISTRING (kIntlTestPartStrings)
  30. {
  31.     kBlankString,        "This area intentionally left blank";
  32.     kFontMenuString,    "Font";
  33.     kSizeMenuString,    "Size";
  34.     kSize9,                "9";
  35.     kSize10,            "10";
  36.     kSize12,            "12";
  37.     kSize14,            "14";
  38.     kSize18,            "18";
  39. }
  40.  
  41. //----------------------------------------------------------------------------
  42. //    Strings for Undo and Redo menu items
  43. //----------------------------------------------------------------------------
  44.  
  45. resource FW_kMULTISTRING (kIntlTestUndoStrings)
  46. {
  47.     kUndoDragTextMsg,    "Undo Text Removal";
  48.     kRedoDragTextMsg,    "Redo Text Removal";
  49.     kUndoDropTextMsg,    "Undo Text Drop";
  50.     kRedoDropTextMsg,    "Redo Text Drop";
  51.     kUndoClearTextMsg,    "Undo Text Clear";
  52.     kRedoClearTextMsg,    "Redo Text Clear";
  53.     kUndoCutTextMsg,    "Undo Text Cut";
  54.     kRedoCutTextMsg,    "Redo Text Cut";
  55.     kUndoPasteTextMsg,    "Undo Text Paste";
  56.     kRedoPasteTextMsg,    "Redo Text Paste";
  57.     kUndoFontChangeMsg,    "Undo Font Change";
  58.     kRedoFontChangeMsg,    "Redo Font Change";
  59.     kUndoFontSizeMsg,    "Undo Font Size Change";
  60.     kRedoFontSizeMsg,    "Redo Font Size Change";
  61. }
  62.  
  63. //----------------------------------------------------------------------------
  64. //    Strings for Test dialogs
  65. //----------------------------------------------------------------------------
  66.  
  67. resource FW_kMULTISTRING (kIntlTestStrings)
  68. {
  69.     kEngTooBigStringID,        "Number is too large";
  70.     kEngNthCharStringID,    "Character #^0 is ‘^1’";
  71. }
  72.  
  73. //----------------------------------------------------------------------------
  74. //    Menus
  75. //----------------------------------------------------------------------------
  76.  
  77. resource FW_RMenuBar(kMenuBar)
  78. {
  79.     "About IntlTest...",
  80.  
  81.     {
  82.         FW_RPullDownMenu
  83.         (
  84.             "IntlTest"
  85.             {
  86.                 FW_RTextItem(cFirstCommand, '1', "Test operator[]..."),
  87.                 FW_RTextItem(cThirdCommand, '3', "Test TextReader..."),
  88.                 FW_RTextItem(cFifthCommand, '5', "Test Real Number Conversion...")
  89.                 FW_RTextItem(cSeventhCommand, FW_kNoKeyEquivalent, RJStringData("ééǵ"))    // tamesi
  90.             }
  91.         )
  92.     }
  93. };
  94.  
  95.